import { request } from "@/utils/request"

/** 获取微信openid */
export const getWxOpenId = (data:any) => {
  return request.get("/sm/getWxOpenId", data)
}
/** 手机号登录 */
export const phoneLogin = (data:any) => {
  return request.post("/sm/phoneLogin", data)
}

// 平台根据token查询用户信息
export const getAppUserInfo = (data:any) => {
  return request.get("/sm/v1/getAppUserInfo", data)
}

